﻿//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
//    Crolengi, this program (a part of program) is gameengine based on C++\Directx
//    Copyright (C) 2008 Pashinin Anton Alekseevich (Crol)
//
//    This program is free software: you can redistribute it and/or modify
//    it under the terms of the GNU General Public License as published by
//    the Free Software Foundation, either version 3 of the License, or
//    (at your option) any later version.
//
//    This program is distributed in the hope that it will be useful,
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//    GNU General Public License for more details.
//
//    You should have received a copy of the GNU General Public License
//    along with this program.  If not, see <http://www.gnu.org/licenses/>.
//    (INCLUDING NEGLIGENCE OR OTHERWISE) 
//    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
//    EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
//    Contacts: 
//    Mail: crolengi@gmail.com
//
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#ifndef manager_included
#define manager_included

#include "..\\import\\CRLEngi_strings_lib\\CRLEngi_strings.h"
#include "..\\import\\param_trees_lib\\param_trees.h"
#include "include\\Utils\\list.h"

class manager
{
	public: 
	LPDIRECT3DDEVICE9      *d3dDevice;
	D3DXMATRIXA16          *matWorld;              // копия мировой 
	list                    ObjectList;

	////////////////////////////////////////////
	// лист команд послупает сюда из консоли
	virtual bool    Console_Input(CRLEngi_string  Command){

		return true;		 
	}
	//////////////////////////////////////////////////////////
	// в каждом менеджере функция должна быть переопределена 
	// если он должен реагировать на свои команды
	void    AnalyzeCommand(CRLEngi_string  Command){}
	void    SendCommand(CRLEngi_string  Command){}
public: manager(){};

};



#endif
